package sword_to_1;

public class LeeCode_53_1 {
    public static void main(String[] args) {

    }
    private static int search(int[] nums, int target) {
        int ans = 0;
        for (int num : nums) {
            if (num == target){
                ans++;
            }
        }
        return ans;
    }
}
